package org.proddevplm.dao.api;

import java.util.List;
import java.util.Map;

import org.proddevplm.dao.data.Roles;


public interface IRolesMgmt {
	
	List<String> getRoles();
	
	Map<String, Roles> getRolesByName(String[] rolesArray);
	
	Map<Integer, Roles> getRolesById(String[] rolesArray);
	
	List<Roles> getAllRoles();
	
	Roles getRoleById(int roleId);
	
	List<Roles> getRolesByProjectId(int projectId);
	
	Roles getRoleByName(String role);
	
	boolean addRole(Roles role);

}
